package com.fy56.platform.logistics.mapper;

import com.fy56.platform.logistics.common.mapper.IBaseMapper;
import com.fy56.platform.logistics.model.VipBank;

import java.util.List;

public interface VipBankMapper extends IBaseMapper<VipBank> {

    /**
     * 根据用户ID货物银行列表
     *
     * @param vipMemberId
     * @return
     */
    List<VipBank> select(Long vipMemberId);

    /**
     * 根据银行卡号获取银行列表
     *
     * @param model
     * @return
     */
    List<VipBank> selectByCardNo(VipBank model);

    /**
     *
     * @mbggenerated 2018-03-12
     */
    @Override
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated 2018-03-12
     */
    @Override
    int insert(VipBank record);

    /**
     *
     * @mbggenerated 2018-03-12
     */
    @Override
    int insertSelective(VipBank record);

    /**
     *
     * @mbggenerated 2018-03-12
     */
    @Override
    VipBank selectByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated 2018-03-12
     */
    @Override
    int updateByPrimaryKeySelective(VipBank record);

    /**
     *
     * @mbggenerated 2018-03-12
     */
    @Override
    int updateByPrimaryKey(VipBank record);
    /**
     *
     * @mbggenerated 2018-03-12
     */
    int deleteByVipId(Long vipMemberId);


    VipBank selectByVipId(String VipId);
}

